package com.woniuxy.order.fallback;


import com.woniuxy.order.client.HouseService;
import com.woniuxy.order.entity.ResponseResult;
import org.springframework.stereotype.Component;

@Component
public class HouseServiceFallBack implements HouseService {


    @Override
    public ResponseResult findRentHouseById(int id) {
        return new ResponseResult(505, "renthousedegradation");
    }

    @Override
    public ResponseResult findSecondHouseById(int id) {
        return
                new ResponseResult(505, "secondHouseDegradation");
    }
}
